/**
 * @filename:FlowTypeService 2023-5-10
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.service;
import com.wonder.app.domain.FlowType;
import com.wonder.app.request.FlowTypeRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;
import java.util.List;
/**   
 * @Description:TODO(流水类型服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface FlowTypeService extends IService<FlowType> {

    
    /**
     * 验证流水类型信息
     * 
     * @param flowType
     * @param type
     * @return 结果
     */
    public String validate(FlowType flowType,String type);   
   
	
     /**
	 * 根据语言获取该语言的数据
	 * @param id
	 * @param language
	 * @return
	 */
	public FlowType getInfo(Long id,String language);
	
	
	/**
	 * Description:获取全部流水类型
	 * @param language //语言
	 */
	List<FlowType> list(String language);
	
	 /**
	 * Description:流水类型分页返回
	 * @param request//检索条件
	 * @param page//分页参数
	 * @return IPage<FlowType>   //分页记录
	 */
    public IPage<FlowType> selectList(FlowTypeRequest request, Page<FlowType> page);
    
	
}
